using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("DropdownMenuItem")]
	public class DropdownMenuItem : PegUIElement
	{
		public GameObject m_selected => method_3<GameObject>("m_selected");

		public UberText m_text => method_3<UberText>("m_text");

		public object m_value => method_3<object>("m_value");

		public DropdownMenuItem(IntPtr address, string className)
			: base(address, className)
		{
		}

		public DropdownMenuItem(IntPtr address)
			: this(address, "DropdownMenuItem")
		{
		}

		public object GetValue()
		{
			return method_14<object>("GetValue", Array.Empty<object>());
		}

		public void SetValue(object val, string text)
		{
			method_8("SetValue", val, text);
		}

		public void SetSelected(bool selected)
		{
			method_8("SetSelected", selected);
		}

		public new void OnOver(InteractionState oldState)
		{
			method_8("OnOver", oldState);
		}

		public new void OnOut(InteractionState oldState)
		{
			method_8("OnOut", oldState);
		}
	}
}
